﻿<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title></title>
     <script src="Scripts/jquery-1.10.2.min.js" type="text/javascript"></script>
<script>
    $(document).ready(function () {
        $("#p1").mouseleave(function () {
            alert("Bye! You now leave p1!");
        });
    });
</script>
</head>
<body>

<p id="p1">This is a paragraph.</p>

</body>
</html>
